package com.virtual.common.utils;

import android.content.Context;
import android.os.Handler;
import android.os.Looper;
import android.widget.Toast;

public class ToastUtil {
  private static Handler mHandler =new Handler(Looper.getMainLooper());
  public static void toast(final Context context, final String s){
    mHandler.post(new Runnable() {
      @Override
      public void run() {
        Toast.makeText(context,s, Toast.LENGTH_LONG).show();
      }
    });
  }
}
